package com.guguguweb.rpc.net.server;

import com.guguguweb.rpc.serializer.CommonSerializer;

public interface RpcServer {

    int DEFAULT_SERIALIZER = CommonSerializer.PROTOBUF_SERIALIZER;

    void start();

    <T> void publishService(T service, String serviceName);
}
